package br.ita.doacoes.view.cadastrodoacoes.refresher;

import java.util.ArrayList;
import java.util.List;

public class Refresher {
	static List<Refreshable> ref;
	static {
			ref = new ArrayList<Refreshable>();
		}
	
	public static void add(Refreshable x){
		ref.add(x);
	}
	
	public static void refresh(){
		for(Refreshable x : ref)
			x.refresh();
		
		
	}
}
